home *** CD-ROM | disk | FTP | other *** search
-
- EDITOR
-
- This is basically an editor for numerical data to be used in various
- statistical analysis programs. The core of the program comprising of a
- setting up routine (PROCinit), a dimensioning procedure (PROCdim) the I/O
- module (PROCinput, PROCsave) and the display/amend unit (PROCdisp) may be
- attached, in the form of procedures, to any of your own favourite number
- crunching programs and then allows you to utilise the versatile editing
- features of this system for data entry and checking and amendment. The
- system is not disc-based so is ultimately limited by memory size but this
- is unlikely to be a problem on an Archimedes. As set-up it has room for
- about 2600 numbers but could deal with more by changing the value of
- 'arraysize%'.
-
- A standard file form is used consisting of a string containing a
- description, an integer giving the length (no. of data) then the numbers
- in BBC basic floating point numerical form. This file form allows
- user-friendly error checking by the IO routine and gives information about
- the contents in text form.
-
- On entry you can choose the display data format, the disc no. the pathname
- with defaults given by return. You may also use the 'missing number'
- option which allows structured data with dummy entries for missing data.
- As written, numbers less than .001 are dummies (but it is easily changed).
- Small values are better than zero because they are less likely to give
- math errors with software which is not written to anticipate missing
- values. With this option switched off all data, including zero or negative
- numbers, will be processed.
-
- The processing menu is as follows:
-
- MAIN MENU Enter:-
-
- 1....To input data from keyboard
- 2....To input an existing disc file (standard format files only)
- 3....To save the file to disc (in either standard format or plain FP)
- 4....To display the current file
- 5....To hardcopy the file to printer
- 6....To call the file editor
- 7....To calc stats on the current file
- 8....To make an OS call
- 9....To use a serial printer
- :....To change disk no. or pathname
- ;....To finish
-
- This is all fairly self evident and should require little explanation. The
- escape key or error handler will usually rescue you from sillies.
-
- On taking option 6 an editor menu is provided as follows:
-
- EDITOR MENU Enter:-
-
- 1.....To amend existing values
- 2.....To delete existing values
- 3.....To insert values
- 4.....To add data to the end of file
- 5.....To modify all data by a factor
- 6.....Load from plain BBC FP data file
- 7.....Load from an ASCII file
- 8.....To make OS call
- 9.....To return to main menu
-
- An import routine from simple BBC FP number files is provided in the
- editor menu and a complementary save in simple BBC number format is
- provided as an option in the save routine.
-
- Further an input routine from ASCII spool files is provided in the file
- editor. Spool files can be generated simply by software such as
- spreadsheets, databases and wordprocessors and can be input directly
- provided not more than two different data separators bytes are used eg
- comma and carriage return or the record and field separators in a
- database. Some database datafiles may be inputtable directly into this
- routine or via spool files.
-
- There is a simple mean standard deviation etc. routine which can work on
- the whole file or in user defined blocks (eg every 10).
-
- Simple editing of single items is provided in the editor section as amend,
- delete, insert, apend functions. There is also a global factoring routine
- of the form 'add 24 to all values etc.'. Block editing is carried out
- using the IO routine which can load any number of values in as many blocks
- as you require from anywhere within one or more existing files.
-
- OS (star) calls are provided in both menus to allow cataloguing of disks
- etc.
-
- If you require an ASCII output of any of the files or results just call
- the OS routine and *SPOOL 'filename' before starting an operation then
- call OS and close the file after completion (with *close or *spool).
-
- The original version was written for a very crude basic on a tape storage
- system. This was improved for the BBC-B/DFS and has been improved again
- for the Archimedes/ADFS. I have, however, retained the mode 7 operation so
- it should still operate in BBC series machines with ADFS with minor
- modifications.
-
- ANALYSES OF VARIANCE, ANOV1, ANOV2, ANOV3
-
- These are provided as a demonstration of the use of the common I/O module
- attached to a number processing program. Some modifications have to be
- made but broadly it is identical to that in the editor but with only the
- basic I/O and display/amend routines provided. If you do not know what the
- programs are for I suggest you read 'Facts from figures' by M.J.Moroney or
- another simple introduction to statistics. For those that wish to use them
- I would stress that the order of processing is down columns not along
- rows!
-
- PROCS
-
- This is an exec file of the program from 10000 - 13000 containing the
- basic procedures. If *execed it will add on to an existing program
- (provided the line numbers don't overlap). Calls to the procedures also
- have to be added to the beginning of the existing program see ANOV1 for
- example.
-
- OPERATION UNDER RISCOS DESKTOP
-
- Simply click on filing system icon, find appropriate directory and click
- on program icon. This will run the program but not multitasked. When
- finished return to desktop which should be as you left it.
-